home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 050a.dms / 050a.adf / EXAMPLE_PROGRAMS / example13_1.AMOS / example13_1.amosSourceCode
AMOS Source Code  |  1992-02-26  |  1KB  |  29 lines

  1. '=================== 
  2. Rem EXAMPLE13_1.Amos 
  3. '=================== 
  4.  
  5. Rem Positioning screens
  6.  
  7.  
  8. Rem open a lowres screen 228 pixels across and 80 pixels high
  9. '------------------------------------------------------------- 
  10. Screen Open 0,228,80,4,Lowres : Curs Off : Paper 2 : Pen 3 : Cls 2
  11.  
  12.  
  13. Rem the 0 is the screen number to be postioned 
  14. Rem The 190 is the x coordinate, using hardware coordinates  
  15. Rem 112 is the left edge of the screen, remember?  
  16. Rem  85 is the y postion (0-312 possible)  
  17. Rem The two commas mean use width and height from the selected screen  
  18. '--------------------------------------------------------------------
  19. Screen Display 0,190,85,,
  20.  
  21. Rem Print a message on our screen. Do you know why it flashes? 
  22. '------------------------------------------------------------- 
  23. Locate 0,3 : Print " POSITIONING SCREENS USING        SCREEN DISPLAY"
  24.  
  25. Rem WAIT for a key press 
  26. Rem This command returns everthing to Amos's system defaults including screens.
  27. '------------------------------------------------------------------------------
  28. Clear Key : Wait Key 
  29. Default